#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
int main()
{
	int x = 87;
	int* p = &x;
	int** ps = &p;
	int*** pd = &ps;
	cout << "x=" << x << endl;
	cout << "*p=" << *p << endl;
	cout << "**ps=" << **ps << endl;
	cout << "***pd" << ***pd << endl;
	return 0;
}